<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
		<meta http-equiv="Cache-Control" content="no-cache/no-store" />
<!--[if IE 9]>
<script type="text/javascript" src="lib/html5shiv.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" />
<!--[if IE 6]>
<script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>微信消息设置</title>
<style>
   .input-text{
      width:160px;
   }
</style>
</head>
<body>
	<div class="container col-md-12">
	     <div>
	        <button id="addTypeBtn" class="btn btn-primary radius">添加消息类型</button>
	     </div>
	     <br/>
	     <div>
	         <table class="table table-border table-bordered table-bg table-hover" id="typeTable">
	            <thead>
	               <tr>
	                  <th>消息类型</th>
	                  <th>部门</th>
	                  <th>车间</th>
	                  <th>操作</th>
	               </tr>
	            </thead>
	            <tbody>
	            
	            </tbody>
	         </table>
	     </div>
	
	<div class="modal fade" id="addTypeModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
					<h4 class="modal-title">添加消息类型</h4>
				</div>
				<div class="modal-body">
				    <span>消息类型</span>
				    <select class="input-text" id="type">
				        
				    </select>
				    <br/><br/>
				    <span>部 &nbsp; &nbsp;门</span>
				    <select class="input-text" id="deptId">
				        <option value=''>请选择</option>
				    </select> &nbsp;<span style='color:red'>不分部门可不选</span>
				    <br/><br/>
				    <span>车 &nbsp; &nbsp;间</span>
				    <select class="input-text" id="workShopId">
				        <option value=''>请选择</option>
				    </select> &nbsp;<span style='color:red'>不分车间可不选</span>
				    
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
					<button type="button" class="btn btn-primary" id="addTypeModalBtn">确认</button>
				</div>
			</div>
		</div>
	</div>
	
	
	
	<div class="modal fade" id="userModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
				<div class="modal-dialog">
					<div class="modal-content">
						<div class="modal-body">
						<input type="hidden" id="userModalTypeId" >
					    <span>类型信息：</span><span id="thisReport"></span><br/>
					    <input type="text" class="input-text" id="userSerachWhere">
					    <button class='btn btn-primary' id="userQueryUserBtn">搜索</button>
					     <br/>
						  <div>
						     <table id="userTable" class="table table-border table-bordered table-bg table-hover">
						        <thead>
						           <tr>
						             <th>用户名</th>
						             <th>部门</th>
						             <th>车间</th>
						             <th>手机号</th>
						             <th>操作</th>
						           </tr>
						        </thead>
						        <tbody>
						          
						        </tbody>
						     </table>
						  </div>
						</div>
						<br/><br/>
						<div class="modal-footer">
							<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
						</div>
					</div>
				</div>
			</div>
			
			
			
	<div class="modal fade" id="addUserModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
				<div class="modal-dialog">
					<div class="modal-content">
						<div class="modal-body">
						<input type="hidden" id="addUserModalTypeId" >
					     <span>类型信息：</span><span id="addUserTitle"></span><br/>
					     <input type="text" class="input-text" id="addUserSerachWhere">
					     <button class='btn btn-primary' id="addUserQueryUserBtn">搜索</button>
					     <br/>
					     <div>
						     <table id="userAddTable" class="table table-border table-bordered table-bg table-hover">
						        <thead>
						           <tr>
						             <th>用户名</th>
						             <th>部门</th>
						             <th>车间</th>
						             <th>手机号</th>
						             <th>操作</th>
						           </tr>
						        </thead>
						        <tbody>
						          
						        </tbody>
						     </table>
						 </div>
						</div>
						<br/><br/>
						<div class="modal-footer">
							<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
							<button type="button" class="btn btn-primary" data-dismiss="modal" id="addUserModalBtn">确认</button>
						</div>
					</div>
				</div>
			</div>
	
	
	</div>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="https://upload.shinehao.com.cn/20180810145355jquery.min1.9.1.js"></script> 
<script type="text/javascript" src="lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="https://upload.shinehao.com.cn/20180810150731H-ui.min3.0.2.js"></script> 
<script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script>
<!--/_footer 作为公共模版分离出去 -->

<!--请在下方写此页面业务相关的脚本 -->
<script type="text/javascript" src="https://upload.shinehao.com.cn/20180813175723jquery.dataTables1.10.0.js"></script> 
<script type="text/javascript" src="lib/laypage/1.2/laypage.js"></script>
<script type="text/javascript" src="myJs/util.js"></script>
<script type="text/javascript" src="myJs/echartUtil.js"></script>

<!--请在下方写此页面业务相关的脚本 -->
<script type="text/javascript" src="myJs/addMessageSinkUser.js"></script>
	</body>
</html>